package com.xu.sso.core.exception;

public class SSOException extends Exception {

    private static final long serialVersionUID = 1L;

    private String code;

    public SSOException() {
        super();
    }

    public SSOException(String message) {
        super(message);
    }

    public SSOException(String code, String message) {
        super(message);
        this.code = code;
    }

    public SSOException(Throwable e) {
        super(e);
    }

    public SSOException(String message, Throwable e) {
        super(message, e);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
